package com.cy.shiro.dao;

import com.cy.shiro.pojo.SysRole;
import com.cy.shiro.pojo.SysUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface SysUserRoleDao {

    //用户id查找权限
    public SysUserRole find(Integer userId);

    //新增
    public Integer addPost(Map<String, String> map);

    //更新
    public Integer editPost(Map<String, String> map);
}
